﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FFS.Model;

namespace FFS.IDAL
{
    public interface IFinanceItemDAO
    {
        List<FinanceItemInfo> GetAllFinanceItem();

        List<FinanceItemInfo> GetFinanceItemByItemKey(string itemKey);

        List<FinanceItemInfo> GetFinanceItemByItemName(string itemName);

        List<FinanceItemInfo> GetFinanceItemBySearchCondition(string searchConfition);

        int CreateFinanceItem(FinanceItemInfo fii);

        int ModifyFinanceItem(FinanceItemInfo fii);

        int DeleteFinanceItem(string itemKey);

        bool IsExistsFinanceItem(string itemKey);
    }
}
